﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace F2S.LINQ2LinkedIn.Model
{
    [XmlRoot("likes")]
    public class Likes : UpdateItem
    {
        [XmlAttribute("total")]
        public long Total { get; set; }

        [XmlAttribute("count")]
        public long Count { get; set; }

        [XmlAttribute("start")]
        public long Start { get; set; }

        [XmlElement("like")]
        public Like[] Like { get; set; }
    }

    /*
    <likes total="5" count="3" start="0">
      <like>
        <person>
          <id>xeZQRZ73Qs</id>
          <first-name>Daniel</first-name>
          <last-name>Jones</last-name>
          <headline>Lead Accounting Analyst at Spectra Energy</headline>
        </person>
      </like>
      <like>
        <person>
          <id>RFMdkrvMsZ</id>
          <first-name>Kimberly T</first-name>
          <last-name>Washington</last-name>
          <headline>Traffic Manager at WHBQ Fox Television Stations</headline>
          <picture-url>http://m.c.lnkd.licdn.com/mpr/mprx/0_3Puunxk0MhkcK_mt3lx0np_pvTlJK5Yt_NZ1npCaEk5d73W-Svy84y9hUfA61CxYhKmtMUyBxtUh</picture-url>
        </person>
      </like>
      <like>
        <person>
          <id>MdAb0CMIot</id>
          <first-name>Monica</first-name>
          <last-name>Lee</last-name>
          <headline>Lead Business Development Manager at Genuent</headline>
          <picture-url>http://m.c.lnkd.licdn.com/mpr/mprx/0_iIoQnZaFXkqzEw0YiaRMnR4I6T39eHmYTWOJnRxUJCz6BuMO7DVE4UIvHdTdIf7tGHHZMySblilA</picture-url>
        </person>
      </like>
    </likes>

     * */
}
